﻿//using GalaSoft.MvvmLight;
using CommunityToolkit.Mvvm.ComponentModel;
using System.Collections.Generic;

namespace AZai.Model
{
    public class TreeModel : ObservableObject//ViewModelBase
    {
        private string _Name;
        /// <summary>
        /// 属性.
        /// </summary>
        public string Name
        {
            get { return _Name; }
            set { SetProperty(ref _Name, value); }
        }

        private bool _IsChecked;
        /// <summary>
        /// 属性.
        /// </summary>
        public bool IsChecked
        {
            get { return _IsChecked; }
            set { SetProperty(ref _IsChecked, value); }
        }

        private TreeType _TreeType;
        /// <summary>
        /// 属性.
        /// </summary>
        public TreeType TreeType
        {
            get { return _TreeType; }
            set { SetProperty(ref _TreeType, value); }
        }

        private bool _IsPause;
        /// <summary>
        /// 属性.
        /// </summary>
        public bool IsPause
        {
            get { return _IsPause; }
            set { SetProperty(ref _IsPause, value); }
        }

        private List<TreeModel> _Children;
        /// <summary>
        /// 属性.
        /// </summary>
        public List<TreeModel> Children
        {
            get { return _Children; }
            set { SetProperty(ref _Children, value); }
        }
    }
}
